\hypertarget{class_hex_data_view}{
\section{HexDataView Class Reference}
\label{class_hex_data_view}\index{HexDataView@{HexDataView}}
}


\hyperlink{class_hex_data_view}{HexDataView} is an abstract class to view the bytes to be displayed.  




{\ttfamily \#include $<$hexview.h$>$}

Inheritance diagram for HexDataView:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_hex_data_view}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_hex_data_view_a68dcdb117848cf3a20af1d4348161d7e}{
void {\bfseries bytesSelected} (uint startByte, uint endByte)}
\label{class_hex_data_view_a68dcdb117848cf3a20af1d4348161d7e}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_hex_data_view_a532dc34dcaa475b423392308a2d0bd1b}{
{\bfseries HexDataView} (\hyperlink{class_hex_view}{HexView} $\ast$parent)}
\label{class_hex_data_view_a532dc34dcaa475b423392308a2d0bd1b}

\item 
\hypertarget{class_hex_data_view_ad615c444c1644ef8e2f7fed47dda4cc5}{
void {\bfseries loadBytes} (uchar $\ast$buffer, uint numBytes)}
\label{class_hex_data_view_ad615c444c1644ef8e2f7fed47dda4cc5}

\item 
\hypertarget{class_hex_data_view_ad5cad02b3a883566ede0733295bd6369}{
void {\bfseries setSelectedBytes} (uint startByte, uint endByte)}
\label{class_hex_data_view_ad5cad02b3a883566ede0733295bd6369}

\item 
QString \hyperlink{class_hex_data_view_ac4ea28efdfaa5c8f9fd41077213656b9}{getSelectedText} ()
\end{DoxyCompactItemize}
\subsection*{Protected Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_hex_data_view_abd919a082a157617f4ac9a20cfdbd333}{
void {\bfseries bytesPerLineChanged} ()}
\label{class_hex_data_view_abd919a082a157617f4ac9a20cfdbd333}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_hex_data_view_a19a73f01b9e0369b3b19a3479bafc71e}{
virtual QPoint {\bfseries convertPixelToCharCoord} (QPoint \&pixelPoint)}
\label{class_hex_data_view_a19a73f01b9e0369b3b19a3479bafc71e}

\item 
\hypertarget{class_hex_data_view_a6516b23e27cea604acbe2ec230e50bd5}{
virtual QPoint {\bfseries convertCharCoordToPixel} (QPoint \&charCoord)}
\label{class_hex_data_view_a6516b23e27cea604acbe2ec230e50bd5}

\item 
\hypertarget{class_hex_data_view_a5d47c4f52f7df738d1f8863043295660}{
void {\bfseries mousePressEvent} (QMouseEvent $\ast$event)}
\label{class_hex_data_view_a5d47c4f52f7df738d1f8863043295660}

\item 
\hypertarget{class_hex_data_view_aecb80c5022e63660f1513bc63ea57ff5}{
void {\bfseries mouseMoveEvent} (QMouseEvent $\ast$event)}
\label{class_hex_data_view_aecb80c5022e63660f1513bc63ea57ff5}

\item 
\hypertarget{class_hex_data_view_a0d94efc5c45df27334a20b724b55ca6f}{
void {\bfseries mouseReleaseEvent} (QMouseEvent $\ast$event)}
\label{class_hex_data_view_a0d94efc5c45df27334a20b724b55ca6f}

\item 
\hypertarget{class_hex_data_view_abe3945f5746c68741518381fac10a9be}{
virtual uint {\bfseries getCellWidth} () const }
\label{class_hex_data_view_abe3945f5746c68741518381fac10a9be}

\item 
\hypertarget{class_hex_data_view_a2d7f8b7b0d8b8199eb35c6102ed1ebba}{
virtual uint {\bfseries getCellHeight} () const }
\label{class_hex_data_view_a2d7f8b7b0d8b8199eb35c6102ed1ebba}

\item 
\hypertarget{class_hex_data_view_a67bec4ba03e57dbf393747e12581dc59}{
virtual QString {\bfseries displayCellContent} (uchar byte)=0}
\label{class_hex_data_view_a67bec4ba03e57dbf393747e12581dc59}

\item 
\hypertarget{class_hex_data_view_acea3ddf684bd0f279d5e40cecafd847f}{
virtual void {\bfseries paintEvent} (QPaintEvent $\ast$event)}
\label{class_hex_data_view_acea3ddf684bd0f279d5e40cecafd847f}

\item 
\hypertarget{class_hex_data_view_a7899a2e2cf35efd6993d58e96220c02b}{
bool {\bfseries hasSelection} ()}
\label{class_hex_data_view_a7899a2e2cf35efd6993d58e96220c02b}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_hex_data_view_a08de7b6c88f968459d1bea5bf3f309eb}{
uchar $\ast$ {\bfseries buffer}}
\label{class_hex_data_view_a08de7b6c88f968459d1bea5bf3f309eb}

\item 
\hypertarget{class_hex_data_view_aa037c98fb49ec5717799e95a5ed5efa5}{
uint {\bfseries bufferLength}}
\label{class_hex_data_view_aa037c98fb49ec5717799e95a5ed5efa5}

\item 
\hypertarget{class_hex_data_view_ad22d670aee39a079611bd9d45ef3537d}{
\hyperlink{class_hex_view}{HexView} $\ast$ {\bfseries parent}}
\label{class_hex_data_view_ad22d670aee39a079611bd9d45ef3537d}

\item 
\hypertarget{class_hex_data_view_ae34bf218356e6d51774dd5e06e79346f}{
QPoint {\bfseries cursorPoint}}
\label{class_hex_data_view_ae34bf218356e6d51774dd5e06e79346f}

\item 
\hypertarget{class_hex_data_view_ab285dfefdf10cedb5f33b876d47f828c}{
uint {\bfseries selectedStartByteIndex}}
\label{class_hex_data_view_ab285dfefdf10cedb5f33b876d47f828c}

\item 
\hypertarget{class_hex_data_view_add636cbdbcd9fd8b814fee7bdd3957a1}{
uint {\bfseries selectedEndByteIndex}}
\label{class_hex_data_view_add636cbdbcd9fd8b814fee7bdd3957a1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_hex_data_view}{HexDataView} is an abstract class to view the bytes to be displayed. Derive from this class to create a custom view of the bytes to be displayed. The provided paintEvent routine draws the content according to the virtual functions displayCellContent... 

\subsection{Member Function Documentation}
\hypertarget{class_hex_data_view_ac4ea28efdfaa5c8f9fd41077213656b9}{
\index{HexDataView@{HexDataView}!getSelectedText@{getSelectedText}}
\index{getSelectedText@{getSelectedText}!HexDataView@{HexDataView}}
\subsubsection[{getSelectedText}]{\setlength{\rightskip}{0pt plus 5cm}QString HexDataView::getSelectedText ()}}
\label{class_hex_data_view_ac4ea28efdfaa5c8f9fd41077213656b9}
\begin{DoxyReturn}{Returns}
The text representation of the selected bytes 
\end{DoxyReturn}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
hexview.h\item 
hexview.cpp\end{DoxyCompactItemize}
